projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a1115b
)
(rmail-summary-by-labels): Correctly handle return value of
author
Chong Yidong
<cyd@stupidchicken.com>
Fri, 23 Jan 2009 19:20:01 +0000
(19:20 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Fri, 23 Jan 2009 19:20:01 +0000
(19:20 +0000)
rmail-get-labels.
lisp/mail/rmailsum.el
patch
|
blob
|
history
diff --git
a/lisp/mail/rmailsum.el
b/lisp/mail/rmailsum.el
index f7bd2df41b2f98a7b7795460d604ea78594a0b14..79bb8bc2ef344b78587945c74e5dfb386b3aaae3 100644
(file)
--- a/
lisp/mail/rmailsum.el
+++ b/
lisp/mail/rmailsum.el
@@
-90,7
+90,9
@@
LABELS should be a string containing the desired labels, separated by commas."
(rmail-new-summary (concat "labels " labels)
(list 'rmail-summary-by-labels labels)
'rmail-message-labels-p
- (concat ", \\(" (mail-comma-list-regexp labels) "\\),")))
+ (concat " \\("
+ (mail-comma-list-regexp labels)
+ "\\)\\(,\\|\\'\\)")))
;;;###autoload
(defun rmail-summary-by-recipients (recipients &optional primary-only)